package com.pxl.service.impl;

import com.pxl.dao.StudentDao;
import com.pxl.dao.UserDao;
import com.pxl.entity.Student;
import com.pxl.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("studentServiceImpl")
public class StudentServiceImpl implements StudentService {
    @Autowired
    @Qualifier("userDao")
    private UserDao userDao;


    @Override
    public Student selectStuById(int id) {
        return userDao.selectStuById(id);
    }
}
